Valid PHP code:
<?= f("x") ?>
generate error '<?php expected' on '?>'
Single quotes are ok.
jEdit 4.5, PHPparserPlugin 2.0.0
Submitted | mxhec - 2012-02-07 - 11:24:44z | Assigned | kpouer |
---|---|---|---|
Priority | 5 | Category | None |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2012-02-07 - 12:32:56z kpouer |
<?= f("x") ?> do not generate warning <? f("x") ?> does, but it is not a bug it is a feature. You can deactivate this one in the plugin options : report <? used instead of <?php |
---|---|
2012-02-07 - 12:56:23z kpouer |
Finally with that example the bug occurs <?php if (true) { ?> ... <?= f("x") ?> ... <?php } ?> |